package com.hmall.common.exception;

import org.springframework.http.HttpStatus;

/*********************************************************
 ** 业务异常
 ** <br><br>
 ** @ClassName: BusinessException
 ** @author: yangfeng
 ** @date: 2024/12/18 14:28
 ** @version: 1.0.0
 *********************************************************/
public class AssertException extends CommonException{
    public AssertException(String message) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR.value());
    }

    public AssertException(String message, Throwable cause, int code) {
        super(message, cause, code);
    }

    public AssertException(Throwable cause, int code) {
        super(cause, code);
    }
}
